FROM golang:latest

WORKDIR $GOPATH/src/github.com/EDDYCJY/gin-mvc
COPY . $GOPATH/src/github.com/EDDYCJY/gin-mvc
RUN go build .

EXPOSE 8000
ENTRYPOINT ["./gin-mvc"]